perm filename CARDS.MJC[UP,DOC]2 blob sn#205148 filedate 1976-03-12 generic text, type C, neo UTF8
COMMENT āŠ—   VALID 00002 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	To transfer a deck of cards to the SAIL file system:
C00007 ENDMK
CāŠ—;
To transfer a deck of cards to the SAIL file system:

First procure a tape (Les Earnest will loan you one).  If it is a totally brand-
new tape, you will have to check with the consultants on campus for instructions
on labelling the tape.  If the tape is already labelled, take it to the operator
in Pine Hall, and read in your deck preceded by the following cards (text in
brokets "<>" should be replaced by the appropriate information):

//<job_name>  JOB  (<acct_no>,<bin_no>,10),'<your_name>'
/*KEY  <your_keyword>
/*SETUP  T,'<tape_id_no>,7TK,WR,<owner_of_tape>,<acct_no_of_tape>'
//  EXEC  IOPROGM
//OUTPUT  DD  UNIT=TAPE7,VOL=SER=<tape_id_no>,DISP=(OLD,PASS),
//  LABEL=(1,BLP),DCB=(RECFM=FB,BLKSIZE=80,LRECL=80,DEN=1,TRTCH=C)
//SYSIN   DD  *
COPY
//INPUT   DD  *

Your deck should immediately follow the //INPUT card.  The <job name> can be any
eight-or-fewer-letter string; the <acct no> is the identifying number of the
account you are running under; the <bin no> specifies the bin into which your
output will be put if you don't pick it up right away.  <your keyword> is the
keyword for your account.  The tape, if it has been previously used on campus,
has an identifying external label which specifies the tape identification
number, the "owner" of the tape, and the account number under which the tape was
registered; your account number need not match the account number appearing on
the tape.
The only places where blanks may appear in the control cards are where they
appear above: before and after JOB in card one; after /*KEY in card two; after
/*SETUP in card three; around EXEC in card four; around DD in card five, seven,
and nine; and before LABEL in card six.
An example appears below, for a user named Smith using account C000$A0 and keyword
XXX, with a tape labelled with the following information:
	tape id no = U4567
	owner = Jones

//TAPEJOB  JOB  (C000$A0,510,10),'SMITH'
/*KEY  XXX
/*SETUP  T,'U4567,7TK,WR,JONES'
//  EXEC  IOPROGM
//OUTPUT  DD  UNIT=TAPE7,VOL=SER=U4567,DISP=(OLD,PASS),
//  LABEL=(1,BLP),DCB=(RECFM=FB,BLKSIZE=80,LRECL=80,DEN=1,TRTCH=C)
//SYSIN   DD  *
COPY
//INPUT   DD  *
	<the user's deck goes here>

When you have your deck ready, and the operator has your tape, you read your
deck into the reader and await the output.  If the output looks normal, you
reclaim your tape from the operator (you will have to sign it out), and bring it
to SAIL.  
If your data is on a WYLBUR file instead of on cards, the //INPUT DD card will
be different.  Check with the consultants at Pine Hall.
The next step is to create a file from the file on the tape.  ASSIGN a tape
drive and mount your tape on it, then run TAPE, a program written by Dick
Helliwell, documented in TAPE.RPH[S,DOC].  All you should need to do is specify
the tape drive to TAPE, type "c" to tell TAPE the record length etc of records
on the tape, type "g" to get into input mode, and then type "fe" to input an
EBCDIC file.